package com.ddyx.mapper;

import java.util.List;
import java.util.Map;

import com.ddyx.entity.Goods;
import com.ddyx.util.RequestForm;
import com.ddyx.util.ResponseForm;
import com.ddyx.vo.GoodsVo;

import tk.mybatis.mapper.common.Mapper;

public interface GoodsMapper extends Mapper<Goods> {

	List<Map<String, Object>> getStoreGoods(Map<String, Object> param);

	int countStoreGoods(Map<String, Object> param);

	Map<String, Object> getGoodsDetails(Map<String, Object> param);

	public List<GoodsVo> selectGoodsListBysSalesclerk(GoodsVo bean);

	public GoodsVo selectEmployeByWXUid(GoodsVo bean);

	List<Map<String, Object>> getHotGoods(Map<String, Object> paramMap);

	List<Map<String, Object>> getNewGoods(Map<String, Object> paramMap);

	List<Map<String, Object>> getCommendGoods(Map<String, Object> paramMap);

	List<Map<String, Object>> getDiscountGoods(Map<String, Object> paramMap);

	List<Map<String, Object>> getFindGoods(Map<String, Object> paramMap);

	List<Map<String, Object>> getActivityGoods(Map<String, Object> paramMap);

	List<Map<String, Object>> searchGoods(Map<String, Object> paramMap);

	List<Map<String, Object>> getGoodsListByIds(Map<String, Object> paramMap);

	// 活动关联商品信息
	List<Map<String, Object>> getActivityGoodsList(Integer activityId);

	List<Map> getGoodsListByTag(Map paramMap);

	// 标签关联商品信息
	List<Map<String, Object>> getTagGoodsList(Integer tagId);

	Long getSoldonCount(Map paramMap);

	List getBrowsedGoods(Map paramMap);

	List getGoodsByCustomer(Map paramMap);

	List getGoodsByBooker(Map paramMap);

	List getBookingGoodsByStore(Map paramMap);

	// v1.5 首页最新商品信息
	List<Map<String, Object>> getNewGoodsList(Map<String, Object> paramMap);

	// v1.5 首页折扣商品信息
	List<Map<String, Object>> getDiscountGoodsList(Map<String, Object> paramMap);

	// v1.5 首页商品搜索
	List<Map<String, Object>> searcheGoodsList(Map<String, Object> paramMap);
	// v1.5 商品颜色
	List<Map<String, Object>> getGoodsColourList(Map<String, Object> paramMap);

	void pullOffGoods();
}
